/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package serwer;

import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author Marcin
 */
public class Serwer {
    public static final long timeout = 20000L;
    public static final long qTime=10000L;
    public static long runTime = new Date().getTime();
    private static MainFrame frame;
    public static boolean logging = false;
    public static CList cList = new CList();
    public static BaseManager bManager = new BaseManager();
    public static ArrayList<GameInfo> games = new ArrayList<>();
    public static void log(String str){
        if(logging)
            frame.log(str+" | "+(System.currentTimeMillis()-1366838200000L));
    }
    
    public static void main(String[] args) {
        logging=true;
        frame= new MainFrame();
        bManager.load();
        bManager.test();
        bManager.save();
        
    }
}
